import { routes } from '../routes';

const prefix = '/api';
let whiteListAdmin = [
  '/user/login',
  '/user/register',
  '/user/test',
  '/kafka/test',
  '/kafka/consumer',
  '/order/create',
  '/admin/test',
  routes.ADMIN_LOGIN,
  routes.ADMIN_TOKEN_CHECK,
  routes.ADMIN_REGISTER,
  routes.ADMIN_REGISTER_VERIFY,
  '/test/*'
];

const whiteListAssets = [];

whiteListAdmin = whiteListAdmin.map(item => prefix + item).concat(whiteListAssets);
export {
  whiteListAdmin
};